﻿<UserControl x:Class="Cryomancer.StarChart.TelescopeDetailCtrl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
    <Grid x:Name="gridMain" Margin="10"  >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="32*" />
            <RowDefinition Height="32*" />
            <RowDefinition Height="32*" />
            <RowDefinition Height="32*" />
        </Grid.RowDefinitions>

        <Label Grid.Row="0">RA</Label>
        <Slider Grid.Column="1" Grid.Row="0" Margin="5"  Name="sliderRA" Value="{Binding Path=RightAscention}"  Minimum="0" Maximum="23.99999" Style="{DynamicResource DecimalValueSliderStyle}"/>

        <Label Grid.Row="1">Dec</Label>
        <Slider Grid.Column="1" Grid.Row="1" Margin="5" Name="sliderDeclination"  Value="{Binding Path=Declination}"  Maximum="+90" Minimum="-90" Style="{DynamicResource DecimalValueSliderStyle}"  />

        <Label Grid.Row="2">Azimuth</Label>
        <Slider Grid.Column="1" Grid.Row="2" Margin="5" Name="sliderAzimuth" Value="{Binding Path=Azimuth}"   Minimum="0" Maximum="359.9999" SmallChange="0.1" Style="{DynamicResource DecimalValueSliderStyle}" />

        <Label Grid.Row="3">Elevation</Label>
        <Slider Grid.Column="1" Grid.Row="3" Margin="5" Name="sliderElevation" Value="{Binding Path=Elevation}"   Minimum="-90" Maximum="+90" SmallChange="0.1" Style="{DynamicResource DecimalValueSliderStyle}" />

    </Grid>
</UserControl>
